import type { GraphDefaultStyles } from './type'

export const defaultStyles: GraphDefaultStyles = {
  textColor: '#000',
  labelPlacement: 'center',
  labelFontFamily: '微软雅黑',
  bgColor: '#fff',
  borderColor: '#409eff',
  borderWidth: 1,
  radius: 8,
  size: [120, 40],
  iconFontFamily: 'iconfont',
  iconColor: '#000',
  iconOffset: [0, 0],
  iconSize: 16,
  ports: [
    { key: 'left', placement: [0, 0.5] },
    { key: 'right', placement: [1, 0.5] },
  ],
  portStyle: {
    r: 4,
    stroke: '#79bbff',
    fill: '#fff',
  },
}
